package com.csjung.games.gamenori.client.ioc;

import com.google.inject.Inject;
import com.google.inject.Provider;

import com.csjung.games.gamenori.client.presenter.WelcomePresenter;
import com.csjung.games.gamenori.client.presenter.WelcomeView;

public class WelcomePresenterProvider implements Provider<WelcomePresenter> {
  private final WelcomeView welcomeView;

  @Inject
  public WelcomePresenterProvider(WelcomeView welcomeView) {
    this.welcomeView = welcomeView;
  }
  public WelcomePresenter get() {
    WelcomePresenter presenter = new WelcomePresenter(welcomeView);
    return presenter;
  }
}